Learn R Programming

SeuratObject (version 5.0.2)

[.StdAssay: Layer Data

Description

Get and set layer data

Usage

# S3 method for StdAssay
[(x, i = missing_arg(), j = missing_arg(), ...)

# S4 method for StdAssay,character,ANY,ANY [(x, i, j, ...) <- value

Value

[: The layer data for layer i

[<-: x with layer data value saved as i

Arguments

x

An Assay5 object

i

Name of layer data to get or set

j

Ignored

...

Arguments passed to LayerData

value

A matrix-like object to add as a new layer

See Also

v5 Standard Assay object, validity, and interaction methods $.StdAssay(), .DollarNames.StdAssay(), StdAssay-class, StdAssay-validity, [[.StdAssay(), dim.StdAssay(), dimnames.StdAssay(), show,StdAssay-method, split.StdAssay(), subset.StdAssay()